package com.hm.scala.associated

object AssociatedTest {
  
  def main(args: Array[String]): Unit = {
    
    //伴生对象可以使用new的方式也可以通过对象调用
    var as:Associated = new Associated();
    as.fun();
    Associated.func();

  }
}